<template>
  <div id="nav">
    <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link>
  </div>
  <router-view />
  <van-button type="primary">主要按钮</van-button>
</template>

<script lang='ts'>
import { defineComponent } from "vue";
import { Button } from "vant";
export default defineComponent({
  components: {
    [Button.name]: Button,
  },
});
</script>

<style lang="scss">
</style>
